

var a = { a:'aaa',b:42}
console.log(Object.values(a))
//[ 'aaa', 42 ]


var  b = {0:'a',1:'b',2:'c'}
console.log(Object.values(b))
//[ 'a', 'b', 'c' ]

var c = { 0: 'a', 1: 'b', 2: { 3: 'c' , 4: 'd' } }
console.log(Object.values(c))
//[ 'a', 'b', { '3': 'c', '4': 'd' } ]

var d = { 100: 'a', 2: 'b', 7: 'c' };
console.log(Object.values(d));
//[ 'b', 'c', 'a' ]

console.log(Object.values("foo"));
//[ 'f', 'o', 'o' ]

